package be.ipl.finito.usecases;

import java.util.List;

import javax.ejb.Remote;

import be.ipl.finito.domaine.Jeton;
import be.ipl.finito.domaine.Participation;
import be.ipl.finito.exceptions.BizException;
import be.ipl.finito.exceptions.FinDePartieException;

@Remote
public interface GestionParticipations {

	Participation poserJeton(Participation part, Jeton jetonP, int indiceCase)
			throws BizException;

	Participation ajouteJetonJouable(Participation participation, Jeton j)
			throws BizException;

	Participation calculerScore(Participation part) throws BizException;

	List<Jeton> getJetonsAPlacer(Participation part) throws BizException;

	List<Jeton> renvoieListeCases(Participation part) throws BizException;

	boolean getStateChanged(Participation part);

}
